<?php $this->pageTitle=Yii::app()->name; ?>
<form class="well span4 pull-right nsn-right control-group" action="<?php echo Yii::app()->getBaseUrl();?>/create" method="POST">
  <table>
	  <tbody>
	    <tr>
	  	  <td>Username</td>
	    </tr>
	  	<tr>
	      <td><input id="username" type="text" class="span4" onchange="checkUsername()" placeholder="Username" name="User[username]"></td>
	    </tr>
	    <tr>
	      <td id="check-username" class="nsn-error"></td>
	    </tr>
	    
	    <tr>
	    <td>Email</td>
	    </tr>
	    <tr>
	      <td><input id="email" type="text" class="span4" onchange="checkEmail()" placeholder="Email" name="User[email]"></td>
	    </tr>
	    <tr>
	      <td id="check-email" class="nsn-error"></td>
	    </tr>
	    
	    <tr>
	    <td>Password</td>
	    </tr>
	    <tr>
	      <td><input id="password" type="password" class="span4" onchange="checkPassword()" placeholder="Password" name="User[password]"></td>
	    </tr>
	    <tr>
	    <td id="check-password" class="nsn-error"></td>
	    </tr>
	    
	    <tr>
	    <td >Confirm Password</td>
	    </tr>
	    <tr>
	      <td><input id="confirm-password" type="password" class="span4 " onchange="checkConfirmPassword()" placeholder="Confirm Password"></td>
	    </tr>
	    <tr>
	    <td id="check-confirm-password" class="nsn-error"></td>
	    </tr>
	    
	    <tr>
	      <td colspan=2 align="center"><button type="submit" class="btn btn-primary btn-large span2" >Sign up</button></td>    
	    </tr>
	  </tbody>
  </table>

  
</form>